package com.stormrage.entity.edu.rep;

import java.io.Serializable;

public class EduVideoRep implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = 7759094276346596298L;

	// ------------------------------- Fields -------------------------------

	private Integer seq;

	private Integer id;

	private String video;

	private String thumb;

	private String videoLen;

	private String len;

	private String progress;

	private Integer right;

	// ------------------------------- Fields -------------------------------

	public EduVideoRep() {
	}

	// ------------------------------- Fields -------------------------------

	public Integer getSeq() {
		return seq;
	}

	public void setSeq(Integer seq) {
		this.seq = seq;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getVideo() {
		return video;
	}

	public void setVideo(String video) {
		this.video = video;
	}

	public String getThumb() {
		return thumb;
	}

	public void setThumb(String thumb) {
		this.thumb = thumb;
	}

	public String getVideoLen() {
		return videoLen;
	}

	public void setVideoLen(String videoLen) {
		this.videoLen = videoLen;
	}

	public String getLen() {
		return len;
	}

	public void setLen(String len) {
		this.len = len;
	}

	public String getProgress() {
		return progress;
	}

	public void setProgress(String progress) {
		this.progress = progress;
	}

	public Integer getRight() {
		return right;
	}

	public void setRight(Integer right) {
		this.right = right;
	}

	// ------------------------------- Fields -------------------------------

	public static EduVideoRep instance(EduVideoRep entity, Integer seq, String progress, Integer right) {
		entity.setSeq(seq);
		entity.setProgress(progress);
		entity.setRight(right);
		return entity;
	}

	@Override
	public String toString() {
		return this.getClass() + " : seq - " + seq + " id - " + id + " video - " + video + " thumb - " + thumb
				+ " videoLen - " + videoLen + " len - " + len + " progress - " + progress + " right - " + right;
	}

}
